﻿using System;

/*
 * Write a program that reads an integer number n from the console 
 * and prints all the numbers in the interval [1..n], each on a single line.
 */

class PrintNNumbers
{
    static void Main(string[] args)
    {
        int NumbersToDisplay;
        do
        {
            Console.WriteLine("Enther the amount of numbers that you would like to display:");

        }
        while (!int.TryParse(Console.ReadLine(), out NumbersToDisplay));

        for (int i = 1; i <= NumbersToDisplay; i++)
        {
            Console.WriteLine(i);
        };
    }
}
